/********************************
 creater:
 create time:2015-12-30
 describe: app.js
 modify time:
 ********************************/
var route = function ($stateProvider, $urlRouterProvider) {

  // Ionic uses AngularUI Router which uses the concept of states
  // Learn more here: https://github.com/angular-ui/ui-router
  // Set up the various states which the app can be in.
  // Each state's controller can be found in controllers.js
  $stateProvider
    //登录页
    .state('login', {
      url: '/login',
      templateUrl: 'templates/login/Login.html',
      controller: 'LoginController'
    });
  $urlRouterProvider.otherwise('/login');

};
